Pseudorandomness And Regularity In Graphs I